<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('misc_ajax');?><? include template('common/header'); if($op == 'comment') { if(is_array($list)) foreach($list as $value) { include template('home/space_comment_li'); } } elseif($op == 'getfriendgroup') { ?>
<?=$group?>
<? } elseif($op == 'getfriendname') { ?>
<?=$groupname?>

<? } elseif($op == 'share') { if(is_array($list)) foreach($list as $value) { include template('home/space_share_li'); } } elseif($op == 'album') { ?>

<table cellspacing="0" cellpadding="0" width="100%">
<tr><? if(is_array($piclist)) foreach($piclist as $key => $value) { ?><td><img src="<?=$value['pic']?>" alt="" width="60" onclick="insertImage('<?=$value['bigpic']?>');" style="cursor:pointer;" /></td>
<? if($key%5==4) { ?></tr><tr><? } } ?>
</tr>
</table>
<? if($multi) { ?><div class="pgs cl mtm"><?=$multi?></div><? } } elseif($op == 'getreward') { if($rule['credit'] || $rule['experience']) { ?>
<div class="popupmenu_layer">
<p><?=$rule['rulename']?></p>
<p class="btn_line">
<? if($rule['credit']) { ?>积分 <strong>+<?=$rule['credit']?></strong> <? } if($rule['experience']) { ?>经验 <strong>+<?=$rule['experience']?></strong> <? } ?>
</p>
<? if($rule['cyclenum']) { ?>
<p>
本周期内，你还有 <?=$rule['cyclenum']?> 次机会
</p>
<? } ?>
</div>
<? } } elseif($op == 'district') { ?>
<?=$html?>
<? } include template('common/footer'); ?>